package com.qf.petmall.starter.utils;

import java.util.UUID;

/**
 * @Author: 可乐
 * @Description:
 * @CreateTime: 2022-11-09  15:41
 */
public class OrderConstants {
	public static final Integer ORDER_WAIT_TO_PAY=1;
	public static final String ORDER_WAIT_TO_SEND="2";
	public static final Integer ORDER_DEFAULT_DELETE_FLAG=0;
	public static final String PAY_OK="SUCCESS";
	public static final Integer PAY_OK_STATUS=2;
	public static final String PAY_NOT_OK_STATUS="-1";
	public static final Integer OUT_TIME_LONG=60*1000*30;
	public static String EMAIL="960397138@qq.com";

	//返回订单id
	public static String getOrderId(){
		String substring=UUID.randomUUID( ).toString( ).substring( 0,9 );
		return substring;

	}
}
